package cn.stylefeng.guns.modular.system.service;

import cn.stylefeng.guns.modular.system.entity.Customer;
import cn.stylefeng.guns.modular.system.mapper.CustomerMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 客户记录 服务实现类
 * </p>
 *
 * @author zsx
 * @since 2019-06-24
 */
@Service
public class CustomerService extends ServiceImpl<CustomerMapper,Customer>{

    /**
     * 获取客户列表
     *
     * @author zsq
     * @Date 2019/06/24 2:01 PM
     */
    public List<Map<String, Object>> getCustomer(Page page, String beginTime, String endTime, String name) {
        return this.baseMapper.getCustomer(page, beginTime, endTime, name);
    }
}
